<?php 
/*------------------------------------------------------------------------
# jobseeker - setpassword
# @author    pipapai.com
-------------------------------------------------------------------------*/

defined('_JEXEC') or die;

// disable core styles to avoid bs conflict 
OC_Util::$core_styles = array();

if(isDevMode()) {
   OCP\Util::addStyle('jobseeker', 'jobseeker');
} else {
   OCP\Util::addStyle('static', 'jobseeker');
}

OCP\Util::addScript('jobseeker', 'registers');

?>      

<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('company/js', 'company.php'));?>"></script>

<div class="mainpanel">
<div class='userdata'>

<form action="<?php echo OC_Helper::linkToRoute('company_setnewpass'); ?>" id="resetPassForm" name="resetPassForm" method="post">
   <div class="row-fluid oneconn_margin">
      <div class="span2 visible-desktop">&nbsp;</div>
      <div class="span8 oneconn_box">
         <div class="lgrg_title clearfix"><span class="pull-left">设置密码</span><span class="pull-right"><em class="redstar">*</em><span class="medium">表示必须填写</span></span></div>

         <div class="lgrg_form">

            <div class="row-fluid">
               <div class="span1 hidden-phone">&nbsp;</div>
               <div class="span11">
                  <div class="form-horizontal">
                     <div class="control-group">
                        <label class="control-label key" style="width:100px;"></label>
                        <div class="controls" style="margin-left:100px;">
                           <span class="only_text">设置密码，以便您管理竞聘信息及查看竞聘进度</span>
                        </div>
                     </div>
                     <div class="control-group">
                        <label class="control-label key">邮箱:</label>
                        <div class="controls">
                           <span class="only_text">comp***y@domain-name.com</span>
                        </div>
                     </div>
                     <div class="control-group">
                        <label class="control-label key" for="password"><span class="required">*</span>密码</label>
                        <div class="controls">
                           <input type="password" maxlength="15" name="password" id="password" class="input-large required" title="密码长度6～15位，字母区分大小写" minlength="6"/>
                           <span class="medium label label-warning soft" style="white-space:normal;display:none;">建议使用包含数字、字母、下划线组合的安全密码，否则有可能会造成信息泄漏的危险。</span>
                        </div>
                     </div>
                     <div class="control-group">
                        <label class="control-label key" for="password2"><span class="required">*</span>确认密码</label>
                        <div class="controls">
                           <input type="password" maxlength="15" name="password2" id="password2" class="input-large"/>
                        </div>
                     </div>
                     <div class="control-group">
                        <div class="controls">
                           <button type="submit" id="resetpasswdbtn" class="btn btn-info">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
                        </div>
                     </div>

                    <div class="control-group">
                        <div class="controls">
                           <div id="regmsg" class="error" style="margin:10px 0 10px 0; padding:5px; display:block"></div>
                        </div>
                     </div>

                  </div>
               </div>
            </div>
         </div>
      </div>
      <div class="span2 visible-desktop">&nbsp;</div>
   </div>
</form>
</div>
</div>
